package kr.hkit.powerjava.chapter08.submit;

class Employee {
	
	private String name;
	private String tel;
	private int salary;
	
	public Employee(String name, String tel, int salary) {
		this.name = name;
		this.tel = tel;
		this.salary = salary;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public int getSalary() {
		return salary;
	}
	public void setSalary(int salary) {
		this.salary = salary;
	}

	@Override
	public String toString() {
		return "이름: " + name + ", 전화번호: " + tel + ", "
				+ "연봉: " + salary + "만원" ;
	}
}
